package com.kuangshen.array;

import java.util.Arrays;
public class Demo1 {
    public static void main(String[] args) {
        int[] a = {1,2,5,3,10,343,21,34,9,8,7,6};
        System.out.println(Arrays.toString(a));
        Arrays.sort(a);
        System.out.println(Arrays.toString(a));

    }
}
